#!/bin/bash

for protos in 256a 032a 128a 064a; do
    for pca in 60 40 20; do
	for nn in 25 15 7 1; do
            echo === protos $protos pca $pca nn $nn
            base=protos$protos
            time llnnlin -v 0 -p DATA/$base.h5 --nn $nn --pca $pca DATA/train.h5 -o $base-$nn-$pca.h5
            lldump -c ll $base-$nn-$pca.h5 $base-$nn-$pca.cmodel
            time llclassify -v 0 -c $base-$nn-$pca.cmodel DATA/test.h5
        done
    done
done
